package com.hnust.controler.test;

import com.hnust.MainApp;
import com.hnust.controller.InfoManageController;
import com.hnust.controller.TeacherController;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = MainApp.class)
public class GetInfo {
    @Autowired
    public InfoManageController infoManageController;

    @Test
    public void testGetInfo(){
        infoManageController.getInfo("as8x145fdb","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXNzd29yZCI6IjEwMDg2IiwiaWQiOiIxMDA4NyIsImV4cCI6MTYwNDU2ODA4MywiaWF0IjoxNjAzOTYzMjgzLCJqdGkiOiJlMzVjZTQ4MTA3NzI0NTRiOWNkMTU1ZDlmM2JlY2ZhYiJ9.nsZQkgGePQwP92VuRLgk0RN7SvT1zB5I1NJu7wisWyE");
    }
}
